/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package thesis.haipv.qa.model;

/**
 *
 * @author PHANHAI
 */
public class Feedback {
    private int id;
    private float trust;
    private long createTime;
    private UserProfile reviewer;
    private Answer answer;

    public Feedback() {
    }

    public Feedback(int id, float trust, long createTime, UserProfile reviewer, Answer answer) {
        this.id = id;
        this.trust = trust;
        this.createTime = createTime;
        this.reviewer = reviewer;
        this.answer = answer;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public float getTrust() {
        return trust;
    }

    public void setTrust(float trust) {
        this.trust = trust;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createDate) {
        this.createTime = createDate;
    }

    public UserProfile getReviewer() {
        return reviewer;
    }

    public void setReviewer(UserProfile reviewer) {
        this.reviewer = reviewer;
    }

    public Answer getAnswer() {
        return answer;
    }

    public void setAnswer(Answer answer) {
        this.answer = answer;
    }
    
}
